import 'package:fish_redux/fish_redux.dart';

enum GlobalAction { changeThemeColor,deviceType }

class GlobalActionCreator {
  static Action onchangeThemeColor() {
    print('点击切换主题颜色GlobalActionCreator->onchangeThemeColor()');
    return const Action(GlobalAction.changeThemeColor);
  }

  static Action deviceType(){
    print('baseAction:deviceType()');
    return const Action(GlobalAction.deviceType);
  }

}
